<?php
/* @var $this TeachingController */
/* @var $model Teaching */
if($model->status == 1)
{
$this->breadcrumbs=array(
	 yii::t('models/Teaching','Teaching Resources')=>array('display/teach'),
	$model->title,
);
}
else
{
$this->breadcrumbs=array(
       "其他实验平台"=>array('display/platformresources'),
	    $model->title,
);
}
?>
<div class="panel panel-box" style="overflow:hidden;">
    <div class="panel-heading">
        <h3 class="panel-title" style="text-align:center">
	    <?php if($model->status == 1):?>
            <?php echo yii::t('models/Teaching','Teaching Resources Brief');?>
	    <?php else:?>
            <?php echo $model->title?>
	    <?php endif;?>
        </h3>
    </div>
    <div class="panel-body" style="padding:15px">
        <?php echo $model->description;?>
    </div>
</div>
<?php $this->widget('TeachingResourcesBox',array('teachingModel'=>$model));?>
